﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Aging.ascx.cs" Inherits="UserControl_Aging" %>
<style type="text/css">
    .style1
    {
        width: 644px;
        height: 489px;
        text-align: center;
    }
    .style2
    {
        width: 4px;
    }
</style>
<div style="width: 652px; text-align: center; border: 1px solid Black;">
    <table class="style1">
        <tr>
            <td colspan="2">
                <b>进箱操作相关数据：</b>
            </td>
            <td>
                <b>腔体序列号：</b>
            </td>
        </tr>
        <tr>
            <td rowspan="2">
                <asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                    CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" 
                    ondatabound="DetailsView2_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Amount" HeaderText="腔体数量" />
                        <asp:BoundField DataField="TimeSpec" HeaderText="时长" />
                        <asp:BoundField DataField="TempSpec" HeaderText="温度" />
                        <asp:BoundField DataField="AgingStep" HeaderText="时效阶段" />
                        <asp:BoundField DataField="DeviceName" HeaderText="时效箱编号" />
                        <asp:BoundField DataField="Attributes" HeaderText="产品属性" />
                        <asp:BoundField DataField="Department" HeaderText="产品所属部门" />
                        <asp:BoundField DataField="InBoxManuTime" HeaderText="生产进箱时间" DataFormatString="{0:G}" />
                        <asp:BoundField DataField="InBoxManuUser" HeaderText="生产进箱操作员" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td>
                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="AgingID" HeaderText="批次编号">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="AssembleUserID" HeaderText="腔体录入人员" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td class="style2" rowspan="5">
                <asp:ListBox ID="ListBox1" runat="server" Height="400px" Width="220px"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView3" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView3_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="InBoxQualTime" HeaderText="进箱质量检验时间" NullDisplayText="Null"
                            DataFormatString="{0:G}">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="InBoxQualUser" HeaderText="进箱质量检验员" />
                        <asp:BoundField DataField="InBoxQualAmount" HeaderText="进箱质量检验数量" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <b>恒温开始与巡查操作相关数据：</b>
            </td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView4" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView4_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="TempStartManuTime" HeaderText="恒温开始生产确认时间" DataFormatString="{0:G}">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TempStartManuUser" HeaderText="恒温开始生产确认员" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td>
                <asp:DetailsView ID="DetailsView7" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView7_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="PatrolManuTime" HeaderText="生产巡查时间" DataFormatString="{0:G}">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PatrolManuUser" HeaderText="生产巡查员" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-weight: 700">
                恒温结束操作<b>相关数据</b>：
            </td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView9" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView9_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="TempEndManuTime" HeaderText="恒温结束生产确认时间" DataFormatString="{0:G}">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TempEndManuUser" HeaderText="恒温结束生产确认员" />
                        <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td>
                <asp:DetailsView ID="DetailsView10" runat="server" AutoGenerateRows="False" BackColor="White"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                    GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView10_DataBound">
                    <FooterStyle BackColor="#CCCCCC" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <Fields>
                        <asp:BoundField DataField="TempEndQualTime" HeaderText="恒温结束质量确认时间" DataFormatString="{0:G}">
                            <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TempEndQualUser" HeaderText="恒温结束质量确认员" />
                        <asp:BoundField DataField="TempEndQualAmount" HeaderText="恒温结束质量确认数量" />
                    </Fields>
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#CCCCCC" />
                </asp:DetailsView>
            </td>
            <td>
                共<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>个
            </td>
        </tr>
    </table>
</div>
<div style="display: none">
    <b>巡查操作相关数据：</b><asp:DetailsView ID="DetailsView6" runat="server" AutoGenerateRows="False"
        BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px"
        CellPadding="3" ForeColor="Black" GridLines="Vertical" Height="50px" Width="322px"
        Style="margin-bottom: 0px" OnDataBound="DetailsView6_DataBound">
        <FooterStyle BackColor="#CCCCCC" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <Fields>
            <asp:BoundField DataField="TempStartQualTime" HeaderText="恒温开始质量确认时间">
                <ItemStyle Width="40%" />
            </asp:BoundField>
            <asp:BoundField DataField="TempStartQualUser" HeaderText="恒温开始质量确认员" />
        </Fields>
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="#CCCCCC" />
    </asp:DetailsView>
    <asp:DetailsView ID="DetailsView8" runat="server" AutoGenerateRows="False" BackColor="White"
        BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
        GridLines="Vertical" Height="50px" Width="322px" OnDataBound="DetailsView8_DataBound">
        <FooterStyle BackColor="#CCCCCC" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <Fields>
            <asp:BoundField DataField="PatrolQualTime" HeaderText="质量巡查时间">
                <ItemStyle Width="40%" />
            </asp:BoundField>
            <asp:BoundField DataField="PatrolQualUser" HeaderText="质量巡查员" />
        </Fields>
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="#CCCCCC" />
    </asp:DetailsView>
</div>
